﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewPostFormat.aspx.cs" Inherits="MyBBS.Views.Shared.NewPostFormat" %>
<%
    var response = Context.Response;
    response.Clear();
    response.ContentType = "text/html";
    MyBBS.Data.Models.Post post = ViewData.Model;

    StringBuilder responseString = new StringBuilder();
    //responseString.Append("<table>");
    //responseString.Append("<tr>");
    //responseString.Append("<td class=\"kick\">");
    //responseString.Append("<div class=\"postCount\">20</div>");
    //responseString.Append("<div class=\"action\"><a>kick</a></div>");
    //responseString.Append("</td>");
    //responseString.Append("<td class=\"content\">");
    //responseString.Append("<table>");
    //responseString.Append("<tr>");
    //responseString.Append("<td>");
    //responseString.Append("<div class=\"title\">");
    //responseString.Append("<a href=" + post.URL + "\"> target=\"_blank\">" + post.Title + "</a>");
    //responseString.Append("</div>");
    //responseString.Append("<div class=\"timestamp\">");
    //responseString.Append("publish time:<span class=\"time\">" + post.PostedTime.ToString("U") + "</span>" + "&nbsp;" + "posted by:<span>" + post.Author + "</span>");
    //responseString.Append("</div>");
    //responseString.Append("<div class=\"description\">");
    //responseString.Append(post.Description + "&nbsp;");
    //responseString.Append("<a href=\"/Post/Show/" + post.ID + ">View Detail</a>");
    //responseString.Append("<div class=\"summary\">");
    //responseString.Append("<img src=" + AppHelper.ImageURL("comment.gif") + ">&nbsp;" + post.Comments.Count + "comment");
    //responseString.Append("</div>");
    //responseString.Append("</td>");
    //responseString.Append("</tr>");
    //responseString.Append("</table>");
    //responseString.Append("</td>");
    //responseString.Append("</tr>");
    //responseString.Append("</table>");

    response.Write(responseString.ToString());
%>
